package MyApp;

public class Memo {
    private String content; // 备忘录内容
    private String timestamp; // 备忘录时间戳

    public Memo(String content, String timestamp) {
        this.content = content;
        this.timestamp = timestamp;
    }

    // Getter和Setter方法
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}